package com.crm.system.service.messageprompt;

import com.crm.common.model.DhPageInfo;
import com.crm.model.entity.messageprompt.MessagePrompt;
import com.crm.model.vo.messageprompt.MessagePromptVO;

import java.util.Date;

public interface MessagePromptService {


    /**
     * @Description: 获取消息提示列表
     * @Param: []
     * @Return: java.util.List<com.crm.model.entity.messageprompt.MessagePrompt>
     * @Author: lixq-f
     * @Date: 2021/5/18
     **/
    DhPageInfo<MessagePromptVO> queryMessagePromptList(Integer pageIndex, Integer pageSize);


    /**
     * @Description: 更新消息状态为已读
     * @Param: [messageId]
     * @Return: java.lang.Boolean
     * @Author: lixq-f
     * @Date: 2021/5/18
     **/
    Boolean updateMessageState(String messageId);


    /**
     * @Description: 未读消息数
     * @Param: []
     * @Return: java.lang.Integer
     * @Author: lixq-f
     * @Date: 2021/5/18
     **/
    Integer unreadMessageCount();

}
